package com.phoenix.service;

import com.phoenix.entity.Users;

public interface UserService {
    //用户注册
    Boolean register(Users user, String sw);

    //用户登录
    Boolean login(String username, String password);

    //通过用户名选择用户
    Users selectUserByUsername(String username);

    //通过ID选择用户
    Users selectUserByID(String id);

    //更新用户信息
    Boolean updateUser(Users user);
}
